package com.demo.encrypt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户
 *
 * @author nn200433
 * @date 2024-03-25 11:49:53
 */
@Data
@TableName(value = "sys_user")
public class User {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /** 用户名 */
    @TableField(value = "user_name")
    private String userName;

    /** 手机号 */
    @TableField(value = "phone")
    private String phone;

    /** 性别 */
    @TableField(value = "sex")
    private String sex;

}
